package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

import java.util.List;

public interface UserApi {

    User findByMobile(String phone);

    Long save(User user);

    void update(User user);

    List<User> findAll();

    User findById(Long userId);
}
